package com.wp.utils;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author 卫鹏
 * @Description 加密 工具类
 * @createTime 2021年12月08日 17:23:00
 */
public class BCryptPasswordEncoderTest {
    private static BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();

    public static String getPasswordEncode(String password) {
        return bCryptPasswordEncoder.encode(password);
    }
}
